package com.wangjiyuan.giftshuo.ui.fragment.classify.strategy;

import com.wangjiyuan.giftshuo.base.IBaseModel;
import com.wangjiyuan.giftshuo.base.IBasePresenter;
import com.wangjiyuan.giftshuo.base.IBaseView;
import com.wangjiyuan.giftshuo.bean.classifybean.strategy.ColumnBean;
import com.wangjiyuan.giftshuo.bean.classifybean.strategy.GroupBean;

import rx.Observable;

/**
 * Created by QXL on 2016/11/15.
 */

public class StrategyContract {
    public static interface IStrategyModel extends IBaseModel{
        Observable<GroupBean> getGroupObservable();
        Observable<ColumnBean> getColumObservable();
    }

    public static interface IStrategyPresenter extends IBasePresenter{
        void getGroupObservable();
        void getColumnObservable();
    }

    public static interface IStrategyView extends IBaseView{
        void showProgress();
        void hideProgress();
        void errorInfo();
        void loadGroupBean(GroupBean groupBean);//加载 品类、风格、对象中的数据
        void loadColumnBean(ColumnBean columnBean);//加载栏目中的数据
    }
}
